package com.legendshop.openportal.sdk.model.request;

import com.legendshop.openportal.sdk.model.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

import static com.legendshop.openportal.sdk.model.constants.ApiPathConstants.DEL_MESSAGE;

/**
 * 删除消息请求
 *
 **/
@Data
@ApiModel(value = "删除消息")
public class MessageDelRequest extends BaseRequest {

	/**
	 * id，支持批量删除，英文逗号间隔，最大100个
	 */
	@ApiModelProperty(value = "消息id列表")
	@NotNull(message = "消息id不能为空")
	private String id;

	@Override
	@ApiModelProperty(hidden = true)
	public String getApiPath() {
		return DEL_MESSAGE;
	}

}
